package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 面试掌握情况记录详情对象 ya_interview_mastery_detail
 *
 * @author ruoyi
 * @date 2024-04-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ya_interview_mastery_detail")
public class InterviewMasteryDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 面试题ID */
    @Excel(name = "面试题ID")
    @TableField("question_id")
    private Long questionId;

    /** 面试记录ID */
    @Excel(name = "面试记录ID")
    @TableField("interview_mastery_id")
    private Long interviewMasteryId;

    /** 知识掌握程度 1-没概念,2-模糊,3-掌握原题,4-陈述知识(what),5-流程知识(how to),6-情境知识(if then),7-策略知识(why) */
    @Excel(name = "知识掌握程度 1-没概念,2-模糊,3-掌握原题,4-陈述知识(what),5-流程知识(how to),6-情境知识(if then),7-策略知识(why)")
    @TableField("degree")
    private String degree;

    /** 得分 */
    @Excel(name = "得分")
    @TableField("score")
    private Integer score;

    /** 难点 */
    @Excel(name = "难点")
    @TableField("difficulty")
    private String difficulty;

    /** 总结 */
    @Excel(name = "总结")
    @TableField("summarize")
    private String summarize;

    /** 学生id */
    @Excel(name = "学生id")
    @TableField("user_id")
    private Long userId;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("interviewMasteryId", getInterviewMasteryId())
            .append("degree", getDegree())
            .append("remark", getRemark())
            .append("score", getScore())
            .append("difficulty", getDifficulty())
            .append("summarize", getSummarize())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
